package com.bao.work.generics02;

/**
 * @author baoye
 * @date 2024-07-30/18:54
 */
public class Main {
    public static void main(String[] args) {
        Coordinate<Double> coordinateD=new Coordinate<>(1.5,6.6);
        Coordinate<String> coordinateS=new Coordinate<>("1.5","6.75");

        System.out.println(coordinateD);
        System.out.println(coordinateS);
    }
}
